package cn.tedu.charging.staff.mapper;

import cn.tedu.charging.staff.pojo.param.StaffQuery;
import cn.tedu.charging.staff.pojo.po.Staff;
import cn.tedu.charging.common.pojo.vo.StaffVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StaffMapper extends BaseMapper<Staff> {
    StaffVO selectByTel(String tel);

    List<Long> selectRoleId2RoleStaff(Long id);

    List<Long> selectPermId2RolePerm(Long roleId);

    List<StaffVO> selectStaff(StaffQuery staffQuery);
}
